<%--
说明：会话日志 增加/修改页面

@author liuxun 2012-04-06
--%>
<%@ include file="../../common/common.jsp"%>
<% 
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312"/>
<meta http-equiv="Expires" content="0"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache"/>

<title><c:if test="${operationType == 0 }">新增</c:if><c:if test="${ operationType == 1}">编辑</c:if>会话日志</title>
<script src="jsp/audit/e_session_log/e_session_log_edit.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body>

<form id="opeForm" name="opeForm" method="post" action="">

<%-- 操作类型 0录入 1修改 --%>
<input type="hidden" id="operationType" name="operationType" value="${operationType}"/>
<input type="hidden" id="session_log_id" name="model.session_log_id" value="${model.session_log_id}"/>

<table style="width:100%; height:100%" border="0" cellpadding="0" cellspacing="0" class="editDisplay">
    <tr>
        <td valign="top">
        <%--编辑页面名称标题表格--%>
        <table style="width:100%" border="0" cellpadding="0" cellspacing="0" class="editCaption">
            <tr>
                <td height="30">&nbsp;</td>
            </tr>
            <tr>
                <td align="center"><font class="editCaptionTitle"><c:if test="${operationType == 0 }">新增</c:if><c:if test="${ operationType == 1}">编辑</c:if>会话日志</font></td>
            </tr>
            <tr>
                <td height="5"></td>
            </tr>
        </table>
        <%--编辑部分表格--%>
        <table border="0" align="center" cellpadding="0" cellspacing="0" class="editTableBorder">
            <tr>
                <td>
                <table border="0" align="center" cellpadding="0" cellspacing="0" class="editMainTable">
                    <tr>
                        <td style="height:40px;" colspan="2" class="editMainConstLabelTD">&nbsp;</td>
                    </tr>

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">会话日志ID：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="session_log_id" name="model.session_log_id" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.session_log_id}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">登录日志ID：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="login_log_id" name="model.login_log_id" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.login_log_id}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">资源ID：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="rsc_id" name="model.rsc_id" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.rsc_id}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">资源账号ID：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="rsc_acc_id" name="model.rsc_acc_id" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.rsc_acc_id}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">端口：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="port" name="model.port" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.port}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">协议：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="pro" name="model.pro" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.pro}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">开始时间：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="begin_time" name="model.begin_time" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.begin_time}" maxlength=19/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">结束时间：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="end_time" name="model.end_time"  validType="" class="easyui-validatebox  editMainText" value="${model.end_time}" maxlength=19/> 

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">是否在线：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="is_on_line" name="model.is_on_line" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.is_on_line}" maxlength=1/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">回放文件：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="playback_file" name="model.playback_file"  validType="" class="easyui-validatebox  editMainText" value="${model.playback_file}" /> 

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">回放文件类型：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="playback_file_type" name="model.playback_file_type"  validType="" class="easyui-validatebox  editMainText" value="${model.playback_file_type}" maxlength=50/> 

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">回放文件MD5：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="playback_file_md5" name="model.playback_file_md5"  validType="" class="easyui-validatebox  editMainText" value="${model.playback_file_md5}" maxlength=50/> 

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">会话PID：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="session_pid" name="model.session_pid" required="true" validType="" class="easyui-validatebox  editMainText" value="${model.session_pid}" maxlength=50/> &nbsp;<span><font color="red">*</font></span>

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">命令日志文件：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="cmd_log_file" name="model.cmd_log_file"  validType="" class="easyui-validatebox  editMainText" value="${model.cmd_log_file}" /> 

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">命令日志MD5：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="cmd_log_file_md5" name="model.cmd_log_file_md5"  validType="" class="easyui-validatebox  editMainText" value="${model.cmd_log_file_md5}" maxlength=50/> 

                        </td>
                    </tr> 

                    <tr>
                        <td class="editMainLabelTD" align="right" style="width:40%;">节点ID：&nbsp;</td>
                        <td class="editMainTD"  align="left" nowrap="nowrap">

                          <input type="text" id="node_id" name="model.node_id"  validType="" class="easyui-validatebox  editMainText" value="${model.node_id}" maxlength=50/> 

                        </td>
                    </tr> 

                    <tr>
                       <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;说明：带<span><font color="red">*</font></span>的项目是必须填写项</td>
                    </tr>                   
                    <tr>
                        <td style="height:40px;" colspan="2" class="editMainConstLabelTD">&nbsp;</td>
                    </tr>
                    <tr>
                     <td colspan="2" class="editMainBottomTD">&nbsp;
				            <div style="text-align: center; padding: 5px;">
				                  <a href="javascript:void(0)" id="okBtn" icon="icon-save" class="easyui-linkbutton">保存</a>
				                  <a href="javascript:void(0)" id="cancelBtn" icon="icon-cancel" class="easyui-linkbutton">取消</a>
							</div>   
					  </td>
					 </tr> 
                </table>
                </td>
            </tr>
        </table>
        </td>
    </tr>
</table>

</form>

</body>
</html>